package com.mtons.mblog.modules.data;

import com.alibaba.fastjson.annotation.JSONField;
import com.mtons.mblog.modules.entity.Answer;
import com.mtons.mblog.modules.entity.AnswerAttribute;
import com.mtons.mblog.modules.entity.Quest;

import java.io.Serializable;

public class AnswerVO extends Answer implements Serializable {
    private static final long serialVersionUID = -6698108607541960362L;

    private String editor;
    private String content;

    private UserVO author;
    private QuestVO quest;

    @JSONField(serialize = false)
    private AnswerAttribute attribute;

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public UserVO getAuthor() {
        return author;
    }

    public void setAuthor(UserVO author) {
        this.author = author;
    }

    public QuestVO getQuest() {
        return quest;
    }

    public void setQuest(QuestVO quest) {
        this.quest = quest;
    }

    public AnswerAttribute getAttribute() {
        return attribute;
    }

    public void setAttribute(AnswerAttribute attribute) {
        this.attribute = attribute;
    }
}
